﻿using System;

namespace PhiStore.Security
{
    /// <summary>
    /// Class containing client credentials for connecting to the PhiServer
    /// </summary>
    [Serializable]
    public class ClientCredentials : PhiCredentials
    {
        /// <summary>
        /// Creates anonymous credentials
        /// </summary>
        public ClientCredentials()
            : this("", "")
        { }

        /// <summary>
        /// Creates a credentials container
        /// </summary>
        /// <param name="username"></param>
        /// <param name="password"></param>
        public ClientCredentials(string username, string password)
            : base(username, password)
        { }

        /// <summary>
        /// This is client credentials
        /// </summary>
        public override bool IsClientCredentials { get { return true;} }
    }

   

}
